package net.narusas.aceauction.push.messageapp;


public class Main {
	public static void main(String[] args) {
//		FileSystemXmlApplicationContext ctxt = new FileSystemXmlApplicationContext("cfg/spring.cfg.xml");
//		MessageDAO dao =(MessageDAO ) ctxt.getBean("messageDAO"); 
//		List<Message> messages = dao.findByOvertimed(new Date(System.currentTimeMillis()-1000*60*60*24*3));
//		for (Message message : messages) {
//			System.out.println(message);
//		}
//		
//		AuctionPushService auctionPushService = (AuctionPushService) ctxt.getBean("auctionPushService");
//		auctionPushService.pushText("하하하하zzzz아이아이가기자지자지자지자아자가자자지자지가깅ㅇㅇㅇㅇㅇㅇㅇㅇㅇㅇㅇ");
		new Initializer().init();
		
	}
}
